package com.erp.bean;

/**
 * @author mtf
 * 仓库实体类
 */
public class Entrepot {

    /**
     * 仓库编号
     */
    private int entid;

    /**
     * 仓库名称
     */
    private String entname;

    /**
     * 仓库位置
     */
    private String loc;

    @Override
    public String toString() {
        return "Entrepot{" +
                "entid=" + entid +
                ", entname='" + entname + '\'' +
                ", loc='" + loc + '\'' +
                '}';
    }

    public Entrepot() {
    }

    public Entrepot(String entname, String loc) {
        this.entname = entname;
        this.loc = loc;
    }

    public Entrepot(int entid, String entname, String loc) {
        this.entid = entid;
        this.entname = entname;
        this.loc = loc;
    }

    public int getEntid() {
        return entid;
    }

    public void setEntid(int entid) {
        this.entid = entid;
    }

    public String getEntname() {
        return entname;
    }

    public void setEntname(String entname) {
        this.entname = entname;
    }

    public String getLoc() {
        return loc;
    }

    public void setLoc(String loc) {
        this.loc = loc;
    }
}
